package com.tang.common.entity.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel("用户模型")
public class User {
    @TableId(value = "user_id",type = IdType.AUTO)
    private Integer userId;
    private String userName;
    private String password;
    private String realName;
    private Integer state;
    private String photoUrl;
    private String tel;
    private String email;
    private String qq;
    private BigDecimal account;
    private Integer companyId;
    private String companyName;
    private String authUrl;
    private Integer userType;
    private Integer vip;
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date vipCreateTime;
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date vipDueTime;
    private String position;
    private String pickName;
    private String sex;
    private Integer age;
    private String graduate;
    private String edu;
    private String liveCity;
    private String introduce;
    private String expect;
    private Integer hasAuth;
    private Integer deleteFlag;
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date createTime;
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
